package com.renwen.sms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * 教师实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("teacher")
public class Teacher implements Serializable {

    private static final long serialVersionUID = 5327325924281143776L;
    @TableId(type = IdType.AUTO)
    //编号
    private Integer id;
    //教师号
    private String tNo;
    //密码
    private String tPwd;
    //姓名
    private String tName;
    //性别
    private String tSex;
    //课程号
    private String cNo;
    //昵称
    private String nickName;
    //入职年份
    private String entryYear;
    //年龄
    private String tAge;
    //班级号
    private String clsNo;
}
